package cn.dceast.user.dao;


import cn.dceast.former.model.EyeModelIndustry;
import cn.dceast.former.model.EyeModelScene;
import cn.dceast.user.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserInfoMapper {

    Integer selectBy(Map map);

    Integer updateByPrimaryKeySelective(UserInfo record);

    String getName(Integer id);

    String getSceneName(Integer id);

    Integer insertSelective(UserInfo record);

    List<EyeModelIndustry> getAllIndustry();

    List<EyeModelScene> getAllScene();

    int verification(String s);

    Integer login(Map<String, Object> param);

    UserInfo getUser(Map<String, Object> param);

    List<Map> getIntrusty();

    UserInfo getUserIndusty(Integer userid);

    List<Map> getIntrestIndustyModel(Map map);

    List<Map> getCommonModel(Map map);

    Integer getCommentOrNo(Map params);

    int checkIsTruePwd(Map params);
}